import request from '@/utils/request'

// 查询路基路面平整度试验检测报告(连续式平整度仪)列表
export function listPzdbgBsInfo(query) {
  return request({
    url: '/report_ljlm/pzdbgBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询路基路面平整度试验检测报告(连续式平整度仪)详细
export function getPzdbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/pzdbgBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增路基路面平整度试验检测报告(连续式平整度仪)
export function addPzdbgBsInfo(data) {
  return request({
    url: '/report_ljlm/pzdbgBsInfo',
    method: 'post',
    data: data
  })
}

// 修改路基路面平整度试验检测报告(连续式平整度仪)
export function updatePzdbgBsInfo(data) {
  return request({
    url: '/report_ljlm/pzdbgBsInfo',
    method: 'put',
    data: data
  })
}

// 删除路基路面平整度试验检测报告(连续式平整度仪)
export function delPzdbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/pzdbgBsInfo/' + excelId,
    method: 'delete'
  })
}

// 获取检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_ljlm/pzdbgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
